package com.app.milkteaapp.bean;

public class AddCartGsonBean {
    /**
     * data : {"id":8,"userid":1,"orderid":7}
     * success : true
     * massage : 添加订单至购物车成功!
     */

    private Cart data;
    private boolean success;
    private String massage;

    public Cart getData() {
        return data;
    }

    public void setData(Cart data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMassage() {
        return massage;
    }

    public void setMassage(String massage) {
        this.massage = massage;
    }

    public static class Cart {
        /**
         * id : 8
         * userid : 1
         * orderid : 7
         */

        private int id;
        private int userid;
        private int orderid;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUserid() {
            return userid;
        }

        public void setUserid(int userid) {
            this.userid = userid;
        }

        public int getOrderid() {
            return orderid;
        }

        public void setOrderid(int orderid) {
            this.orderid = orderid;
        }
    }
}
